import request from '@/utils/request' // api: https://github.com/axios/axios

// 
export function getAll(params) {
    return request({
        url: 'sys/authority/getAll',
        method: 'post',
        data:params
    })
}
// 修改
export function update(params) {
    return request({
        url: 'sys/authority/update?authorityID='+params.authorityID+'&remark='+params.remark,
        method: 'get',
    })
}